<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>vue官方示例</title>
</head>

<body>

  <div id="app">
    <ul>
      <li v-for="item in arr">{{item}}</li>
    </ul>
  </div>

  <!-- vue.js cdn -->
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  <script>
    var vm = new Vue({
      el: '#app',
      data: {
        arr: ["春天", "夏天", "秋天", "冬天"]
      }
    })

    console.log('vm实例：', vm)

  </script>
</body>

</html>